[#include "/WEB-INF/pages/common/taglibs.ftl"]
		<p>
        	<label>所属机构：</label>
            <span class="field">
            	<select name="user.orgId" class="" [#if act=='update']readonly="readonly"[/#if]>
					[#list orgList as c]
						<option value="${c.id}" [#if (user != null && user.orgId == c.id) || (orgId == c.id)]selected='selected'[/#if] >${c.title}</option>
					[/#list]
				</select></span>
        </p>
        <p>
        	<label>用户：</label>
            <span class="field"><input class="smallinput" type="text" rel="${action.getValidateMetadata("/manage", "User_save", "user.userName")}" title="请输入长度大于5位的用户名" id="user.userName" name="user.userName" [#if act=='update']disabled[/#if] value="${(user.userName)!''}"/></span>
        </p>
        <p>
        	<label>密码：</label>
            <span class="field"><input class="smallinput" type="password" rel="${action.getValidateMetadata("/manage", "User_save", "user.password")}" placeholder="请输入5-20位密码" name="user.password" value="${(user.password)!''}"/></span>
        </p>
		<p>
        	<label>再次输入：</label>
            <span class="field"><input class="smallinput" type="password" rel="${action.getValidateMetadata("/manage", "User_save", "user.password")}" placeholder="请再次输入5-20密码" name="repass" value="${(user.password)!''}"/></span>
        </p>
		<p>
        	<label>姓名：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="您的真实姓名" name="user.realName" value="${(user.realName)!''}"/></span>
        </p>
		<p>
        	<label>邮箱：</label>
            <span class="field"><input class="smallinput" type="text" rel="${action.getValidateMetadata("/manage", "User_save", "user.email")}" placeholder="您的邮箱地址. 格式:xxx@xx.xx" name="user.email" value="${(user.email)!''}"/></span>
        </p>
		<p>
        	<label>性别：</label>
            <span class="field"><select name="user.gender">
					<option value="">未知</option>
					<option value="M" [#if (user.gender) ?? && user.gender=='M']selected="selected"[/#if]>男</option>
					<option value="F" [#if (user.gender) ?? && user.gender=='F']selected="selected"[/#if]>女</option>
				</select></span>
        </p>
		<p>
        	<label>生日：</label>
            <span class="field"><input class="width100 datepicker" type="text" readonly="readonly" placeholder="填写您的生日.格式:yyyy-mm-dd" name="user.birthday" value="[#if (user.birthday)??]${(user.birthday)?string('yyyy-MM-dd')}[/#if]"/></span>
        </p>
		<p>
        	<label>来自：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="您来自哪里" name="user.comeFrom" value="${(user.comeFrom)!''}"/></span>
        </p>
		<p>
        	<label>地址：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="您的地址" name="user.address" value="${(user.address)!''}"/></span>
        </p>
		<p>
        	<label>电话：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="请填写电话号码" name="user.tel" value="${(user.tel)!''}"/></span>
        </p>
		<p>
        	<label>手机：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="请填写手机号码" name="user.mobile" value="${(user.mobile)!''}"/></span>
        </p>
		<p>
        	<label>传真：</label>
            <span class="field"><input class="smallinput" type="text" placeholder="传真" name="user.fax" value="${(user.fax)!''}"/></span>
        </p>
	    <p class="stdformbutton">
	    	<input type="hidden" name="user.id" value="${(user.id)!''}" />
			<input type="hidden" name="id" value="${(user.id)!''}" />
	      	<button class="submit ">提&nbsp;&nbsp;交</button>
	        <input type="reset" value="重&nbsp;&nbsp;置" class="reset radius2" />
	        <a class="anchorbutton button_alert" href="${action.backurl}" style="margin-left:6px;background-color: rgb(247, 247, 247); border-color: rgb(204, 204, 204); color: rgb(51, 51, 51);"><span style="background-color: rgb(255, 255, 255); border-color: rgb(221, 221, 221);">返&nbsp;&nbsp;回</span></a>
	    </p>
